package com.imc.beans;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * ImcCorpPurivew entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "imc_corp_purivew", catalog = "imcdbserver")
public class ImcCorpPurivew implements java.io.Serializable {

	// Fields

	private ImcCorpPurivewId id;

	// Constructors

	/** default constructor */
	public ImcCorpPurivew() {
	}

	/** full constructor */
	public ImcCorpPurivew(ImcCorpPurivewId id) {
		this.id = id;
	}

	// Property accessors
	@EmbeddedId
	@AttributeOverrides({
			@AttributeOverride(name = "corpId", column = @Column(name = "corp_id")),
			@AttributeOverride(name = "modelCorpId", column = @Column(name = "model_corp_id")),
			@AttributeOverride(name = "mdfType", column = @Column(name = "mdf_type")),
			@AttributeOverride(name = "modelName", column = @Column(name = "model_name", length = 20)) })
	public ImcCorpPurivewId getId() {
		return this.id;
	}

	public void setId(ImcCorpPurivewId id) {
		this.id = id;
	}

}